<?php

namespace App\Model;

use App\User;
use Illuminate\Database\Eloquent\Model;

class CartItem extends Model
{
    // 购物车

    protected $fillable = ['amount'];
    public $timestamps = false;

    public function user()
    {
        return $this->belongsTo(User::class);
    }
    public function productSku()
    {
        return $this->belongsTo(ProductSku::class);
    }
}
